/**   
 * @Title: SportteryFootballLotteryInfo.java 
 * @Package com.esun.model.sportteryfootball 
 * @Description: TODO(竞彩足球投注相关信息) 
 * @author: City Jiangsy@500wan.com   
 * @date: 2011-8-15 上午10:20:03  
 * Copyright: (C) 2011 Shenzhen E-sun Sky Net Technology Co.,ltd.
 */
package com.esun.model.sportteryfootball;

import java.util.ArrayList;
import java.util.Hashtable;

/**
 * @ClassName: SportteryFootballLotteryInfo
 * @Description: TODO(竞彩足球投注相关信息)
 * @author: City Jiangsy@500wan.com
 * @date: 2011-8-15 上午10:20:03
 * 
 */
public class SportteryFootballLotteryInfo {
	private static SportteryFootballLotteryInfo sportteryFootballLotteryInfo = null;

	public static SportteryFootballLotteryInfo getSportteryFootballLotteryInfo() {
		if (sportteryFootballLotteryInfo == null) {
			return sportteryFootballLotteryInfo = new SportteryFootballLotteryInfo();
		} else {
			return sportteryFootballLotteryInfo;
		}
	}

	private int activeTeamCount;

	public int getActiveTeamCount() {
		activeTeamCount = 0;
		for (int i = 0; i < lotterList.size(); i++) {
			if ((Boolean) lotterList.get(i).get("is_active")) {
				activeTeamCount++;
			}
		}
		return activeTeamCount;
	}

	private int danItemTeamCount;

	public int getDanItemTeamCount() {
		danItemTeamCount = 0;
		for (int i = 0; i < lotterList.size(); i++) {
			if ((Boolean) lotterList.get(i).get("is_dan")) {
				danItemTeamCount++;
			}
		}
		return danItemTeamCount;
	}

	private ArrayList<Hashtable<String, Object>> lotterList = new ArrayList<Hashtable<String, Object>>();
	private ArrayList<Hashtable<String, Object>> allLeagueList = new ArrayList<Hashtable<String, Object>>();
	private ArrayList<Hashtable<String, Object>> recommendLeagueList = new ArrayList<Hashtable<String, Object>>();

	public ArrayList<Hashtable<String, Object>> getAllLeagueList() {
		return allLeagueList;
	}

	public ArrayList<Hashtable<String, Object>> getRecommendLeagueList() {
		return recommendLeagueList;
	}

	public ArrayList<Hashtable<String, Object>> getLotterList() {
		return lotterList;
	}

	private ArrayList<Hashtable<String, Object>> simpleLeagueList = new ArrayList<Hashtable<String, Object>>();

	public ArrayList<Hashtable<String, Object>> getSimpleLeagueList() {
		return simpleLeagueList;
	}

	private int multiple;
	private int zhushuCount;
	private int guoguanType;
	private String codes;
	private String sgType;

	public int getMultiple() {
		return multiple;
	}

	public void setMultiple(int multiple) {
		this.multiple = multiple;
	}

	public int getZhushuCount() {
		return zhushuCount;
	}

	public void setZhushuCount(int zhushuCount) {
		this.zhushuCount = zhushuCount;
	}

	public int getGuoguanType() {
		return guoguanType;
	}

	public void setGuoguanType(int guoguanType) {
		this.guoguanType = guoguanType;
	}

	public String getCodes() {
		return codes;
	}

	public void setCodes(String codes) {
		this.codes = codes;
	}

	public String getSgType() {
		return sgType;
	}

	public void setSgType(String sgType) {
		this.sgType = sgType;
	}

}
